<+b_dialog dialog_title="Gradient Colormap" dw=863  dialog_bar=0 dialog_space=0 dialog_nogroup=1>
<assign bw=400>
<assign sbwidth=190>
<assign colorWidth=#dw-234>


<table>
<tr>
	<td width=216 bgcolor=#colorGroupBox>
		<img height=#ds><br>
		<img width=#ds>
		<select name=category width=200 height=#dbh></select><br>
		<img width=216 height=1 bgcolor=#colorFrame><br>
		<img height=1 width=216 bgcolor=#colorList><br>
		<img width=8 height=468 bgcolor=#colorList>
		<input type=listbox name=gradientList ownerdraw=1 singlesel=1 width=208 height=468>	
		<img width=216 height=1 bgcolor=#colorFrame><br>
		<table cellpadding=#ds>
		<tr>
			<td width=216 bgcolor=#colorToolbar>
				<center>
				<input type=button name=gradientAdd toolbar=1 width=60 height=20 xpar=images/button_add_wide.png  grayxpar=images/button_add_wide.png img=#fake grayImg=#fake fgcolor=#colorIcon fgcolorover=#colorSelection graycolor=#colorToolbarIconGrey bgcolor=#colorToolbar nofade=1 alt="Add" ascent=20>
				<input type=button name=gradientDel toolbar=1 width=60 height=20 xpar=images/button_remove.png  grayxpar=images/button_remove.png img=#fake grayImg=#fake fgcolor=#colorIcon fgcolorover=#colorSelection graycolor=#colorToolbarIconGrey bgcolor=#colorToolbar nofade=1 alt="Delete" ascent=20>
				</center>
			</td>
		</tr>
		</table>

	</td>
	<td width=1 bgcolor=#colorFrame></td>
	<td width=#ds></td>

	<td bgcolor=#colorDialog>
		<img height=#ds>
		<+b_border>
			<input type=custom name=preview width=624 height=351><br>
		<+e_border>
		
		
		<img height=#ds>
		
		<+b_box width=#colorWidth label="Colors">
			<center>
			<table cellspacing=#ds>
			<tr>
				<td align=right width=40><img height=2><br>Color</td>
				<td><input type=color name=gradientColor></td>
				<td width=60 align=right><img height=2><br>Opacity</td>
				<td>
					<input type=textbox name=opacityScroll width=40 height=20 sliderWidth=200 sliderMin=0 sliderMax=100 sliderMinLimit=0 sliderMaxLimit=100 sliderFormat="%1.0f" sliderScale=2.55 alt="Adjust color\ntransparency" ascent=20>
					<img src=#textPercent><img width=#ds>
					<+reset name=opacityReset alt="Reset transparency" resetAscent=1>
				</td>
				<td width=60 align=right><img height=2><br>Position</td>
				<td><input type=text name=location width=40 value="0.0" ascent=20><img src=#textPercent></td>
				<td width=80 align=right><img height=2><br>Colorspace</td>
				<td><select name=colorSpace width=100 height=#dbh></td>
			</tr>
			</table>
			</center>
			<img height=#ds><br>
			<img width=#colorWidth height=1 bgcolor=#colorFrame><br>
			<img height=#ds>

			<table>
			<tr>
				<td bgcolor=#colorGroupBox width=10></td>
				<td bgcolor=#colorGroupBox>
					<input type=custom name=colorRange width=#colorWidth-30 height=50><br>
				</td>
				<td bgcolor=#colorGroupBox width=10></td>
			</tr>
			</table>
			<center>
				<input type=button name=colorAdd toolbar=1 width=100 height=20 xpar=images/button_add_color.png grayxpar=images/button_add_color.png img=#fake grayImg=#fake fgcolor=#colorIcon fgcolorover=#colorSelection graycolor=#colorGroupIconGrey bgcolor=#colorGroupBox nofade=1 alt="Add a new color marker" ascent=20>
				<img width=#ds>
				<input type=button name=colorDel toolbar=1 width=60 height=20 xpar=images/button_remove.png grayxpar=images/button_remove.png img=#fake grayImg=#fake fgcolor=#colorIcon fgcolorover=#colorSelection graycolor=#colorGroupIconGrey bgcolor=#colorGroupBox nofade=1 alt="Remove selected color marker" ascent=20>
				<img width=#ds>
				<input type=button name=reverse toolbar=1 width=60 height=20 xpar=images/button_reverse.png grayxpar=images/button_reverse.png img=#fake grayImg=#fake fgcolor=#colorIcon fgcolorover=#colorSelection graycolor=#colorGroupIconGrey bgcolor=#colorGroupBox nofade=1 alt="Reverse colors" ascent=20>
			</center>
		<+e_box>
		<img height=#ds>		

	</td>
</tr>
</table>


<+d_dialog>
	<input type=button name=ok value="Ok" width=#dbw height=#dbh bgcolor=#colorSelection textcolor=#colorSelectionText>
	<img width=#ds>
	<input type=button name=cancel value="Cancel" width=#dbw height=#dbh>
<+e_dialog>	
				
